@extends('layouts.shop_home')
@section('content')
<link href="/home/css/infstyle.css" rel="stylesheet" type="text/css">
		<b class="line"></b>
		<div class="center">
			<div class="col-main">
				<div class="main-wrap">

					<div class="user-info">
						<!--标题 -->
						<div class="am-cf am-padding">
							<div class="am-fl am-cf"><strong class="am-text-danger am-text-lg">商户资料</strong></div>
						</div>
						<hr/>
						<form class="am-form am-form-horizontal" method="post" action="shopInfo/{{$shopInfo->shop_id}}" enctype="multipart/form-data">
						{{csrf_field()}}
		            	{{method_field('PATCH')}}
						<!--头像 -->
						<div style="color:#ccc;"><b><i>点击下方图片修改Logo</i></b></div>
						<div class="user-infoPic">

							<div class="filePic" style="margin:0px;">
								<input type="file" class="inputPic" allowexts="gif,jpeg,jpg,png,bmp" accept="image/*" name="image" >
								<img class="am-circle am-img-thumbnail" src="/{{$shopInfo->shop_logo}}" alt="" style="height:128px;"/>
							</div>

								<input type="hidden" value="{{$shopInfo->shop_logo}}" name="photo">
	

							<p class="am-form-help">店铺Logo</p>

							<div class="info-m">
								<div><b>商户名：<i>{{$shopInfo->shop_name}}</i></b></div>

								
							</div>
						</div>

						<!--个人信息 -->
						<div class="info-main">
							

								<div class="am-form-group">
									<label for="user-name2" class="am-form-label">店铺名</label>
									<div class="am-form-content">
										<input type="text" id="user-name2" name="store_name" value="{{$shopInfo->store_name}}">
									</div>
								</div>

								<div class="am-form-group">
									<label for="user-name"  class="am-form-label">店铺简介</label>
									<div class="am-form-content">
										<input type="text" id="user-name2" name="description" value="{{$shopInfo->shop_description}}">
                                         
									</div>
								</div>

								<!-- <div class="am-form-group">
									<label class="am-form-label">性别</label>
									<div class="am-form-content sex">
										<label class="am-radio-inline">
											<input type="radio" name="radio10" value="male" data-am-ucheck> 男
										</label>
										<label class="am-radio-inline">
											<input type="radio" name="radio10" value="female" data-am-ucheck> 女
										</label>
										<label class="am-radio-inline">
											<input type="radio" name="radio10" value="secret" data-am-ucheck> 保密
										</label>
									</div>
								</div>
 -->
								<!-- <div class="am-form-group">
									<label for="user-birth" class="am-form-label">生日</label>
									<div class="am-form-content birth">
										<div class="birth-select">
											<select data-am-selected>
												<option value="a">2015</option>
												<option value="b">1987</option>
											</select>
											<em>年</em>
										</div>
										<div class="birth-select2">
											<select data-am-selected>
												<option value="a">12</option>
												<option value="b">8</option>
											</select>
											<em>月</em></div>
										<div class="birth-select2">
											<select data-am-selected>
												<option value="a">21</option>
												<option value="b">23</option>
											</select>
											<em>日</em></div>
									</div>
							
								</div> -->
								<div class="am-form-group">
									<label for="user-phone" class="am-form-label">电话</label>
									<div class="am-form-content">
										<input id="user-phone" name="phone" value="{{$shopInfo->shop_phone}}" type="tel">

									</div>
								</div>
								<div class="am-form-group">
									<label for="user-email" class="am-form-label">电子邮件</label>
									<div class="am-form-content">
										<input id="user-email" name="email" value="{{$shopInfo->shop_email}}" type="email">

									</div>
								</div>
								<!-- <div class="am-form-group address">
									<label for="user-address" class="am-form-label">收货地址</label>
									<div class="am-form-content address">
										<a href="address.html">
											<p class="new-mu_l2cw">
												<span class="province">湖北</span>省
												<span class="city">武汉</span>市
												<span class="dist">洪山</span>区
												<span class="street">雄楚大道666号(中南财经政法大学)</span>
												<span class="am-icon-angle-right"></span>
											</p>
										</a>

									</div>
								</div>
								<div class="am-form-group safety">
									<label for="user-safety" class="am-form-label">账号安全</label>
									<div class="am-form-content safety">
										<a href="safety.html">

											<span class="am-icon-angle-right"></span>

										</a>

									</div>
								</div> -->
								<div class="info-btn">
									<button type="submit" class="am-btn am-btn-danger">保存修改</button>
								</div>

							</form>
						</div>

					</div>

				</div>
@endsection

